﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace FlightWCFService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IFlightService
    {
        [OperationContract]
        String Book(List<int> legIDS, System.Collections.Generic.List<Backend.Passenger> passengers);

        //[OperationContract]
        //System.Collections.Generic.List<String> flightSearch(String departAirp, String arrivalAirp, string date);

        [OperationContract]
        System.Collections.Generic.List<Backend.Flight> FlightSearch(String departAirp, String arrivalAirp, String date, int numberOfPassengers);


        
        [OperationContract]
        String SayHello();

    }
}
